<template>
  <a-config-provider :locale="locale">
    <div id="app">
      <router-view />
    </div>
  </a-config-provider>
</template>
<script>
import zhCN from "ant-design-vue/lib/locale-provider/zh_CN";
// import moment from "moment";
export default {
  name: "App",
  // provide () {
  //   return {
  //     getValue: this.getValue
  //   }
  // },
  data() {
    return {
      locale: zhCN,
    };
  },
  created() {},
  methods: {
    getValue(val){
      return val?val:''
    },
    getNumber(val){
      if (val) {
        return (val/100).toFixed(2)
      }
    }
  },
};
</script>
<style lang="less">
#app {
  font-family: "Source Han Sans";
  height: 100%;
  background: #f5f5f5;
}
</style>
